import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { Camera } from '@ionic-native/camera/ngx';
import { DateTextPipe } from './date-text.pipe';
import { OperationsPopoverComponent } from './operations-popover/operations-popover.component';
import { SearchModalComponent } from './search-modal/search-modal.component';
import { HeadToolbarComponent } from './head-toolbar/head-toolbar.component';

@NgModule({
  declarations: [
    DateTextPipe,
    HeadToolbarComponent,
    OperationsPopoverComponent,
    SearchModalComponent
  ],
  imports: [
    CommonModule,
    IonicModule
  ],
  exports: [
    DateTextPipe,
    HeadToolbarComponent,
    OperationsPopoverComponent,
    SearchModalComponent
  ],
  providers: [Camera]
})
export class CommonsModule { }
